package com.train.trainmanage.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.train.trainmanage.model.TrackModel;

@Mapper
public interface TrackModelMapper {
    int deleteByPrimaryKey(Integer trackId);

    int insert(TrackModel record);

    int insertSelective(TrackModel record);

    TrackModel selectByPrimaryKey(Integer trackId);

    int updateByPrimaryKeySelective(TrackModel record);

    int updateByPrimaryKey(TrackModel record);
    
    List<TrackModel> allTrackList();
}